/**
 * 
 */
package com.pmsco.pms.business.dto;

/**
 * @author Long Tran
 *
 */
public class LogonRequestDTO extends AbstractRequestDTO {
	private String userName;
	private String password;
	private String email;
	private String emailBody;
	private String emailSubject;
	private boolean isAdminLogon;
	private int logonFailThreshold;
	
	public LogonRequestDTO() {
		setUserName("");
		setPassword("");
		setEmail("");
		setAdminLogon(false);
		setLogonFailThreshold(3);
		setEmailBody("");
		setEmailSubject("");
	}
	
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the isAdminLogon
	 */
	public boolean isAdminLogon() {
		return isAdminLogon;
	}
	
	/**
	 * @param isAdminLogon the isAdminLogon to set
	 */
	public void setAdminLogon(boolean isAdminLogon) {
		this.isAdminLogon = isAdminLogon;
	}
	
	/**
	 * @return the logonFailThreshold
	 */
	public int getLogonFailThreshold() {
		return logonFailThreshold;
	}
	
	/**
	 * @param logonFailThreshold the logonFailThreshold to set
	 */
	public void setLogonFailThreshold(int logonFailThreshold) {
		this.logonFailThreshold = logonFailThreshold;
	}

	/**
	 * @return the emailBody
	 */
	public String getEmailBody() {
		return emailBody;
	}

	/**
	 * @param emailBody the emailBody to set
	 */
	public void setEmailBody(String emailBody) {
		this.emailBody = emailBody;
	}

	/**
	 * @return the emailSubject
	 */
	public String getEmailSubject() {
		return emailSubject;
	}

	/**
	 * @param emailSubject the emailSubject to set
	 */
	public void setEmailSubject(String emailSubject) {
		this.emailSubject = emailSubject;
	}

}
